package cn.silver.module.system.bean;

import cn.silver.framework.mybatis.annotation.TableField;
import cn.silver.framework.mybatis.bean.BaseBean;
import cn.silver.framework.mybatis.enums.SearchTypeEnums;
import cn.silver.module.system.domain.SysUserMail;
import cn.silver.module.system.domain.SysWebsite;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author zhouxiaobo
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysUserMail.class)
@Schema(name = "MailBean", title = "邮箱地址对象")
public class MailBean extends BaseBean {

    @Schema(title = "用户信息")
    private String userId;

    /**
     * 邮箱地址
     */
    @Schema(title = "邮箱地址")
    private String mailAddr;

    /**
     * smtp服务器地址
     */
    @Schema(title = "smtp服务器地址")
    private String smtpAddr;

    /**
     * smtp登录用户名
     */
    @Schema(title = "smtp登录用户名")
    private String smtpUser;

    /**
     * smtp登录密码
     */
    @Schema(title = "smtp登录密码")
    private String smtpPass;
}
